package com.thingsgrid.notice.exception;
import lombok.Data;
import org.springblade.core.tool.api.R;
/**
 * NoticeException
 * @author MQ
 */
@Data
public class NoticeException extends RuntimeException{
    private R r;
    public NoticeException(R r){
        super();
        this.r = r;
    }
    public NoticeException(String message){
        super(message);
    }
    public NoticeException(R r,String message){
        super(message);
        this.r = r;
    }
    public NoticeException(R errorInfo,Throwable throwable){
        super(throwable);
        this.r = r;
    }
    public NoticeException(R r, String message, Throwable throwable){
        super(message, throwable);
        this.r = r;
    }
}
